package myprojectcompany

class Company {
	String name
	String history
	String web
	Date startDate
	
	static constraints = {
		name(nullable:true, maxSize:100, blank:false)
		history(nullable:true, maxSize:500)
		web(nullable:true, url:true)
		startDate(nullable:true)
	}

	static hasMany = [ businessUnits : BusinessUnit ]
}
